/**
 * Ingenius-Group S.A.S
 *
 * Project: SAU
 * File: EditIndicator2EvaluateEvent.java
 * Date: 08/02/2011
 */

package com.ingenius.sau.client.event;

import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.GwtEvent;
import com.ingenius.sau.client.event.EditIndicator2EvaluateEvent.EditIndicator2EvaluateEventHandler;

/**
 * Class <strong>EditIndicator2EvaluateEvent</strong>
 * 
 * @author Jesus David
 * @version 0.1
 */
public class EditIndicator2EvaluateEvent extends
		GwtEvent<EditIndicator2EvaluateEventHandler> {

	public interface EditIndicator2EvaluateEventHandler extends EventHandler {

		void onEditIndicator2Evaluate(EditIndicator2EvaluateEvent event);
	}

	public static Type<EditIndicator2EvaluateEventHandler> TYPE = new Type<EditIndicator2EvaluateEventHandler>();

	private final String indicator2EvaluateId;

	public EditIndicator2EvaluateEvent(String indicator2EvaluateId) {
		this.indicator2EvaluateId = indicator2EvaluateId;
	}

	public String getIndicator2EvaluateId() {
		return indicator2EvaluateId;
	}

	@Override
	public Type<EditIndicator2EvaluateEventHandler> getAssociatedType() {
		return TYPE;
	}

	@Override
	protected void dispatch(EditIndicator2EvaluateEventHandler handler) {
		handler.onEditIndicator2Evaluate(this);
	}

}
